package com.lc.YYGH.msm.utils;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
public class ConstantPropertiesUtils implements InitializingBean {

    private String apiUrl="https://sms_developer.zhenzikj.com";

    private String appId="111399";

    private String appSecret="7f3cdd74-d810-4c47-b461-d02f249e25f2";

    private String templateId="8975";

    public static String API_URL;
    public static String APP_ID;
    public static String APP_SECRET;
    public static String TEMPLATE_ID;

    @Override
    public void afterPropertiesSet() throws Exception {
        API_URL=apiUrl;
        APP_ID=appId;
        APP_SECRET=appSecret;
        TEMPLATE_ID=templateId;

    }
}
